home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 July / CHIP 2006-07.2.iso / program / google / google-browsersync.xpi / chrome / chromeFiles / content / settings.xul < prev    next >
Encoding:
Extensible Markup Language  |  2006-06-07  |  3.3 KB  |  85 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xul-overlay href="chrome://browserstate/content/component-selector.xul"?>
  4.  
  5. <dialog
  6.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.   xmlns:html="http://www.w3.org/1999/xhtml"
  8.   id="clb-login" title="Google Browser Sync Settings" orient="vertical" 
  9.   buttons="accept,cancel" 
  10.   ondialogaccept="return CLB_form.handleOKButtonClicked(event)"
  11.   ondialogcancel="">
  12.   
  13.   <tabbox>
  14.     <tabs>
  15.       <tab label="Account Information" />
  16.       <tab label="Sync Settings" />
  17.     </tabs>
  18.     <tabpanels>
  19.       <tabpanel orient="vertical" flex="1">
  20.         <groupbox flex="1">
  21.           <caption label="Google Account" style="font-weight:bold;" />
  22.           <vbox>
  23.             <hbox align="middle">
  24.               <description id="clb-user-desc" hidden="false" flex="1">
  25.                 Currently associated with <html:b id="clb-username"/>.
  26.               </description>
  27.  
  28.               <description id="clb-nouser-desc" hidden="true" flex="1">
  29.                 No Google account is associated with this browser yet.
  30.               </description>
  31.  
  32.               <button id="clb-change-login" label="Stop syncing"
  33.                 oncommand="CLB_form.handleChangeLoginClicked(event)"/>
  34.             </hbox>
  35.             <description>Visit your <html:a onclick="CLB_form.handleAccountSettingsClicked(); return false;" href="#" style="color:blue; text-decoration:underline;">Google Account settings</html:a> to reset your password, change your security question, or learn about access to other Google services</description>
  36.           </vbox>
  37.         </groupbox>
  38.  
  39.         <groupbox flex="1">
  40.           <caption label="Security PIN" style="font-weight:bold;" />
  41.           <description>
  42.             Your sensitive data is protected with this PIN. You will need it the 
  43.             first time you access your data on any other machines.
  44.           </description>
  45.           <hbox align="center">
  46.             <textbox id="clb-restart-text" readonly="true" type="password"
  47.               flex="1"/>
  48.             <button id="clb-show-button" label="Show" 
  49.               oncommand="CLB_form.handleShowButtonClicked(event)"/>
  50.           </hbox>
  51.         </groupbox>
  52.  
  53.         <groupbox flex="1">
  54.           <caption label="Full Refresh" style="font-weight:bold;" />
  55.           <hbox align="middle">
  56.             <description flex="1">
  57.               Completely refresh and resave your browser settings (this 
  58.               may take up to five minutes, depending on how much stuff
  59.               you have).
  60.             </description>
  61.             <button id="clb-resync-button" label="Full Refresh"
  62.               disabled="false"
  63.               oncommand="CLB_form.handleResyncClicked(event)"/>
  64.           </hbox>
  65.         </groupbox>
  66.       </tabpanel>
  67.       
  68.       <tabpanel flex="1">
  69.         <groupbox flex="1">
  70.           <caption label="Synchronization Settings" style="font-weight:bold;" />
  71.           <vbox id="clb-component-selector" flex="1"/>
  72.         </groupbox>
  73.       </tabpanel>
  74.     </tabpanels>
  75.   </tabbox>
  76.   
  77.   <script type="application/x-javascript">
  78.     var CLB_form = 
  79.       new (Components.classes["@google.com/browserstate/app-context;1"]
  80.                      .getService()
  81.                      .wrappedJSObject
  82.                      .CLB_SettingsForm)(window);
  83.   </script>
  84. </dialog>
  85.